package com.qj.travel.temp;

import com.qj.travel.constant.WxConstant;

/**
 * Created by Deelons on 2016/10/22.
 */
public class WxUrlTemp {
    private String code;

    public String setWxUrl(String code) {
        String wxUrl = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=" + WxConstant.APPID + "&secret=" + WxConstant.APPSECRET + "&code=" + code + "&grant_type=authorization_code";
        return wxUrl;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
